package org.deyang.tools.amazon.pojos;

import java.util.Calendar;
import java.util.GregorianCalendar;

public class KeepaPriceChangeEntity {
	private int hours = 0 ;
	private int priceValue = -1; //for example 21.36, it will be stored as 2136
	private Calendar keepaStartDate = new GregorianCalendar(2011, Calendar.JANUARY, 1, 7, 40, 0);
	public int getHours() {
		return hours;
	}
	public void setHours(int hours) {
		this.hours = hours;
	}
	public int getPriceValue() {
		return priceValue;
	}
	public void setPriceValue(int priceValue) {
		this.priceValue = priceValue;
	}
	
	public Calendar getCalendarValue(){
		Calendar changeCalendarValue =  (Calendar) keepaStartDate.clone();
		changeCalendarValue.add(Calendar.HOUR, this.hours);
		return changeCalendarValue;
	}

}
